//
//  LSYUIActionSheet.m
//  TTClub
//
//  Created by royzhao on 16/1/27.
//  Copyright © 2016年 TTClub. All rights reserved.
//

#import "LSYUIActionSheet.h"

@implementation LSYUIActionSheet

- (void)showInNoErrorView:(UIView *)view
{
    UIWindow *window = [[UIApplication sharedApplication].delegate window];
    if ([window.subviews containsObject:view]) {
        [self showInView:view];
    } else {
        [self showInView:window];
    }
}

@end
